public class Test7 {
    public static void main(String[] args) {
        int sum = 0;
        for (int i = 100; i < 201; i++) {
            sum += i;
        }
        System.out.println(sum);
        int num = 100;
        while (num < 201 ){
            sum += num;
            num++;
        }
        System.out.println(sum);

        do {
            sum += num;
            num++;

        }while (num<201);
        System.out.println(sum);
    }
}
